﻿using System;

namespace GLDotNet
{
    /// <summary>
    /// Parameters used when loading a Texture2D.
    /// </summary>
    public struct Texture2DParams
    {
        /// <summary>
        /// A color in the source image which should be replaced with transparent pixels.
        /// </summary>
        public uint? ColorKey
        {
            get;
            set;
        }

        /// <summary>
        /// The pixel to use for transparency when color keying.
        /// </summary>
        public uint TransparentPixel
        {
            get;
            set;
        }
    }
}
